<?php
/**
 * @name designerrelbrand.php
 * @date Created on 2015-12-3
 * @author liulei
 */
namespace haibao\cms\model\data\designer;

Class DesignerRelBrand extends \haibao\cms\model\data\Base{
    
    /**
     * 关联类型 1个人品牌 2正在掌管品牌 3曾经掌管品牌
     */
    const RELTYPE_PERSON = 1;
    const RELTYPE_NOW = 2;
    const RELTYPE_OLD = 3;
    
    /**
     * 设计师ID
     */
    public $DesignerId;
    
    /**
     * 品牌ID
     */
    public $BrandId;
    
    /**
     * 品牌名称
     */
    public $BrandName;
    
    /**
     * 品牌LOGO
     */
    public $BrandImgUrl;
    
    /**
     * 品牌地址
     */
    public $BrandUrl;
    
    /**
     * 关联类型 2个人品牌 1正在掌管品牌 3曾经掌管品牌
     */
    public $RelType;
    
    public $nameCn;
    public $nameEn;
    
    public function __construct(){
        parent::__construct();
        $this->intField('DesignerId', 'DesignerId',true);
        $this->intField('BrandId', 'BrandId',true);
        $this->intField('RelType', 'RelType',true);
        
        $this->setTableName('DesignerRelBrand');
    }
}